package org.word.controller;


import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @author xiuyin.cui
 * @Description
 * @date 2019/3/22 10:52
 */
@Controller
public class IndexController {

  @ApiIgnore
  @RequestMapping(value = "/")
  public String index(HttpServletRequest request) {
    return "redirect:swagger-ui.html";
  }
}
